from django.db import models
from django.contrib.auth.models import AbstractUser


# Create your models here.

class CustomUser(AbstractUser):
    nick_name = models.CharField(verbose_name='昵称', max_length=20, unique=True, blank=True, null=True)
    head = models.ImageField(verbose_name='头像', upload_to='head', default='default.png')
